package stringbuilder;
/*
* StringBuilder的append方法的返回值：他的返回值返回的是原容器对象
* */
public class StringBuilderDemo06 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        StringBuilder sb2 = sb.append(9);
        sb2.append("abc");

        System.out.println(sb); // 9abc
        System.out.println(sb2); // 9abc

    }
}
